/*
 * MessageWindow is a Wt::WBoxLayout has a titlebar and a text area.
 */

#ifndef MESSAGEWINDOW_HPP
#define MESSAGEWINDOW_HPP

#include <Wt/WContainerWidget>
#include <Wt/WCssStyleSheet>
#include <Wt/WApplication>
#include <Wt/WVBoxLayout>
#include "utilities.hpp"
// #include <Wt/WScrollArea>
// using namespace webpages::resources;
#include <Wt/WText>

class MessageWindow : public Wt::WVBoxLayout
{
    Wt::WText* titlebar;
    
    
            //TODO: Move to common CSS area:
    class BorderTest2 : public Wt::WCssTextRule
    {
    public:
        BorderTest2()
            :
                Wt::WCssTextRule(".testing333",
                                 "border-color: silver;"
                                 "border-width: medium;"
                                 "border-style: ridge;"
                                 // "display:block;"
                                 // "overflow:hidden;"
                                 // "width:100%;"
                                 // "padding: 0;"
                                 // "margin:0;"
                                 // "margin-bottom: 25px;"
                                )
                {}
    };
    
    
    
    
public:
    MessageWindow();
};

#endif //MESSAGEWINDOW_HPP